projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a342f4
)
rockchip: pinctrl: rk3368: Convert to livetree
author
Philipp Tomsich
<
[email protected]
>
Mon, 11 Sep 2017 20:04:19 +0000
(22:04 +0200)
committer
Philipp Tomsich
<
[email protected]
>
Mon, 18 Sep 2017 18:40:34 +0000
(20:40 +0200)
Update the pinctrl driver for the RK3368 to support a live device tree.
Signed-off-by: Philipp Tomsich <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Acked-by: Philipp Tomsich <
[email protected]
>
drivers/pinctrl/rockchip/pinctrl_rk3368.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/rockchip/pinctrl_rk3368.c
b/drivers/pinctrl/rockchip/pinctrl_rk3368.c
index 81ce2e31a7f6ac727caded3b3d6258fa3cd5f1c1..b1f570416425390a2570534de06cdb803962a30b 100644
(file)
--- a/
drivers/pinctrl/rockchip/pinctrl_rk3368.c
+++ b/
drivers/pinctrl/rockchip/pinctrl_rk3368.c
@@
-632,8
+632,7
@@
static int rk3368_pinctrl_get_periph_id(struct udevice *dev,
u32 cell[3];
int ret;
- ret = fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(periph),
- "interrupts", cell, ARRAY_SIZE(cell));
+ ret = dev_read_u32_array(periph, "interrupts", cell, ARRAY_SIZE(cell));
if (ret < 0)
return -EINVAL;